package edu.suda.xsap.service;

import edu.suda.xsapadminutils.common.Result;
import edu.suda.xsapadminvo.EmployeeVO;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;

public interface LoginService {
    Result login(EmployeeVO employeeVO);

    void generateCaptcha(HttpServletRequest request, HttpServletResponse response) throws IOException;

    void setHeader(HttpServletResponse response);

    Result register(EmployeeVO employeeVO);

    String findByName(String name);
}
